const fs = require("fs");
const path = require("path");
const JSON5 = require("json5");
const Mock = require("mockjs");
const json5 = fs.readFileSync(
  path.join(__dirname, "./userinfo.json5"),
  "utf-8"
);
const userinfo = JSON5.parse(json5);

let obj = Mock.mock(userinfo);
console.log(obj);
export default obj;
